<script setup>
import { useMainStore } from "../../store";
const useStore = useMainStore();
import router from '../../router'; // 引入路由配置

const goods = () => {
    router.push("/detail/65757faf9a209a26890f8721")
}

</script>

<template>
  <div>
    <van-card
      @click="goods"
      num="2"
      tag="标签"
      price="2.00"
      desc="描述信息"
      title="商品标题"
      thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg"
      origin-price="10.00"
    />
  </div>
</template>

<style scoped></style>
